package com.zhuiYun.project.api.order.service.serviceImpl;

import com.zhuiYun.project.api.handworkDiy.entity.HandworkDiy;
import com.zhuiYun.project.api.order.entity.Order;
import com.zhuiYun.project.api.order.mapper.CommorderMapper;
import com.zhuiYun.project.api.order.model.CommorderModel;
import com.zhuiYun.project.api.order.model.diyorderModel;
import com.zhuiYun.project.api.order.service.CommorderService;
import com.zhuiYun.project.common.response.CommonResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CommorderServiceImpl implements CommorderService {

    @Autowired
    CommorderMapper commorderMapper;


    @Override
    public CommonResult commorderlist(CommorderModel commorderModel) {
        List<CommorderModel> commorderModels = commorderMapper.commorderlist((commorderModel));
        return CommonResult.ok(commorderModels);
    }


}
